<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Labyrinthe: Référence de la classe Tresor</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Généré par Doxygen 1.5.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Liste&nbsp;des&nbsp;classes</span></a></li>
      <li><a href="hierarchy.html"><span>Hiérarchie&nbsp;des&nbsp;classes</span></a></li>
      <li><a href="functions.html"><span>Membres&nbsp;de&nbsp;classe</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Référence de la classe Tresor</h1><!-- doxytag: class="Tresor" -->Un tresor defini par son nom et sa position sur le labyrinthe.  
<a href="#_details">Plus de détails...</a>
<p>

<p>
<a href="classTresor-members.html">Liste de tous les membres</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Fonctions membres publiques</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTresor.html#99fb4ffe09d91b9cfb763a09c0dab0ee">getNom</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Obtention du nom du tresor.  <a href="#99fb4ffe09d91b9cfb763a09c0dab0ee"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCase.html">Case</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTresor.html#0b6546ab8acc238652389aca805ecedf">getCase</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Obtention d'un pointeur de la case sur laquelle est le tresor.  <a href="#0b6546ab8acc238652389aca805ecedf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTresor.html#c29fb7a8e8a542e83f44d42a34495f9b">setCase</a> (<a class="el" href="classCase.html">Case</a> *c)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deplacement du tresor. Utilise apres intialisation du tresor.  <a href="#c29fb7a8e8a542e83f44d42a34495f9b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fb5527027c75e11245e8d0aec55eec87"></a><!-- doxytag: member="Tresor::Tresor" ref="fb5527027c75e11245e8d0aec55eec87" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTresor.html#fb5527027c75e11245e8d0aec55eec87">Tresor</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructeur par defaut. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTresor.html#887cd72aa23af064ce180385f8e934f6">Tresor</a> (string n, <a class="el" href="classCase.html">Case</a> *c)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructeur complet.  <a href="#887cd72aa23af064ce180385f8e934f6"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Attributs privés</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a15202df487d51c22f6cd9fff1049baf"></a><!-- doxytag: member="Tresor::_nom" ref="a15202df487d51c22f6cd9fff1049baf" args="" -->
string&nbsp;</td><td class="memItemRight" valign="bottom"><b>_nom</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7732ca1c5637843691f2eaee14734fab"></a><!-- doxytag: member="Tresor::_estSur" ref="7732ca1c5637843691f2eaee14734fab" args="" -->
<a class="el" href="classCase.html">Case</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>_estSur</b></td></tr>

</table>
<hr><a name="_details"></a><h2>Description détaillée</h2>
Un tresor defini par son nom et sa position sur le labyrinthe. <hr><h2>Documentation des constructeurs et destructeur</h2>
<a class="anchor" name="887cd72aa23af064ce180385f8e934f6"></a><!-- doxytag: member="Tresor::Tresor" ref="887cd72aa23af064ce180385f8e934f6" args="(string n, Case *c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Tresor::Tresor           </td>
          <td>(</td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classCase.html">Case</a> *&nbsp;</td>
          <td class="paramname"> <em>c</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructeur complet. 
<p>
<dl compact><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td>: Nom du tresor </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>c</em>&nbsp;</td><td>: Pointeur sur la case contenant le tresor </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr><h2>Documentation des fonctions membres</h2>
<a class="anchor" name="0b6546ab8acc238652389aca805ecedf"></a><!-- doxytag: member="Tresor::getCase" ref="0b6546ab8acc238652389aca805ecedf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCase.html">Case</a> * Tresor::getCase           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Obtention d'un pointeur de la case sur laquelle est le tresor. 
<p>
<dl class="return" compact><dt><b>Renvoie:</b></dt><dd>Pointeur sur la case </dd></dl>

</div>
</div><p>
<a class="anchor" name="99fb4ffe09d91b9cfb763a09c0dab0ee"></a><!-- doxytag: member="Tresor::getNom" ref="99fb4ffe09d91b9cfb763a09c0dab0ee" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string Tresor::getNom           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Obtention du nom du tresor. 
<p>
<dl class="return" compact><dt><b>Renvoie:</b></dt><dd>le nom du tresor sous forme de string </dd></dl>

</div>
</div><p>
<a class="anchor" name="c29fb7a8e8a542e83f44d42a34495f9b"></a><!-- doxytag: member="Tresor::setCase" ref="c29fb7a8e8a542e83f44d42a34495f9b" args="(Case *c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Tresor::setCase           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCase.html">Case</a> *&nbsp;</td>
          <td class="paramname"> <em>c</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Deplacement du tresor. Utilise apres intialisation du tresor. 
<p>
<dl compact><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>Pointeur</em>&nbsp;</td><td>sur la nouvelle case </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr>La documentation de cette classe a été générée à partir des fichiers suivants :<ul>
<li><a class="el" href="Tresor_8h-source.html">Tresor.h</a><li>Tresor.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Généré le Fri Feb 19 10:49:32 2010 pour Labyrinthe par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.7.1 </small></address>
</body>
</html>
